cssmatcher: Rewrite nth-child matcher
authorBenjamin Otte <otte@redhat.com>
Thu, 28 May 2015 15:12:57 +0000 (17:12 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 28 May 2015 15:12:57 +0000 (17:12 +0200)
commit59a7739fce02627e5e24b03d9e0837c8ce01aa7b
treee7f9e60efe924e0d01dd605526455ed7d56b80a4
parent4847eff6c42a45c95d8115bf9c1dc294a9c108ba
cssmatcher: Rewrite nth-child matcher

Instead of trying to be smart, be stupid but correct.

Fixes nth-child reftest.
gtk/gtkcssmatcher.c